package com.mengfh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @Description 启动类： 配置扫描的mapper类
 * @Author mengfh
 * @Date 15/6/23 上午6:51
 * @Version V1.0
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.mengfh.**.mapper")
public class MainApp {

    public static void main(String[] args) {
        SpringApplication.run(MainApp.class);
    }

}